package com.lanyou.cook.repository;

import org.springframework.data.repository.Repository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

import com.lanyou.cook.entity.kettle.KettleDataSource;

@RepositoryRestResource(exported=false)
public interface KettleDataSourceRepository extends Repository<KettleDataSource, Long>{

	KettleDataSource findOne(Long id);
	KettleDataSource save(KettleDataSource entity);
	
	KettleDataSource findByName(String name);
}
